<template>
  <w-cell
    :icon="item.pcStudyListPic"
    :title="item.title"
    :time="item.dateStr"
    :describe="item.describe"
    @cellClick="cellClick"
  />
</template>

<script lang="ts">
import WConfig from "@/config";
import WCell from "@/components/pc/Cell/cell_01/index.vue";
import { Component, Vue, Prop } from "vue-property-decorator";
import StudyModel from "@/models/StudyModel";

@Component({
  components: {
    WCell
  }
})
export default class WebConclusionCell extends Vue {
  @Prop(StudyModel) item!: StudyModel;

  // cell 点击
  cellClick() {
    window.open(
      `${WConfig.pcHtml}/#/web/conclusion/detail?id=${this.item._id}`
    );
  }
}
</script>

<style lang="scss" scoped>
</style>
